home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 3_9.lha / 3_9 / 3_9atst.c < prev    next >
Text File  |  1993-08-08  |  545b  |  30 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <stream.h>
  6. include <stream.h>
  7.  
  8. include "3_9a.c"
  9.  
  10. har *x[] =
  11.    {
  12.    "",
  13.    "The quick brown fox jumped over the lazy brown dog",
  14.    "This is a test",
  15.    "abc",
  16.    "abcd",
  17.    "abcda",
  18.    "abdc",
  19.    "hello there",
  20.    0
  21.    };
  22.  
  23. ain()
  24.  
  25.    for (char **xp = x; *xp; xp++)
  26. for (char **yp = x; *yp; yp++)
  27.     cout << "a='" << *xp << "', b='" << *yp << "', ab='" << cat(*xp, *yp) << "'\n";
  28.    return 0;
  29.  
  30.